A "typo" led to using a wrong GtkTreePath when converting the path of the
virtual root to check the ancestors, which would lead to either no checks being
performed, or maybe segfaulting when using an invalid path as result.
https://bugzilla.gnome.org/show_bug.cgi?id=722058
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
GtkTreePath *real_path;
real_path = gtk_tree_model_filter_remove_root (c_path,
- filter->priv->root);
+ filter->priv->virtual_root);
if (real_path)
{
gtk_tree_model_filter_check_ancestors (filter, real_path);